package com.example.chapter1.user.model;


import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class XmlUser {

    @JacksonXmlProperty(localName = "name")
    private String userName;
    @JacksonXmlProperty(localName = "age")
    private Integer age;

}
